make sure there is a final return in functions that return value in asm