added return flag set if error in return expr