Fixed a bug in expression parser