error handle not found user function in the desired way