removing a buggy return statement