fixed return error