fixed home controller to work with events