Fix bad behavior implementation.