solve the waist bug