fix: bug with malformed expressions