function param read and retrun fix