fix builtin functions to follow same stack convention
fix string concat and substr of our convention