solve the mess