corrected assign expression validations in forStatement()