fixed bugs in literal-function-constructor