I wasn't overriding correctly some of the lifecycle methods