Fixed some bug in call function without return