fix retval