Solve bad behavior