fix for button rendering and controller methods