Fixed invalid function expression parsing