fixed some memory leaks, allow multiple operators in expression