Though the AMT (alternative minimum tax) is not applicable, it is wrongly calculating and flowing on Schedule 2, line 1 and from there on main Form 1040NR line 17.