fixed return statement