fix bracket problem in formula parsing
fixing some parsing problems