fixed how to call an user function