UI event handling
unbroke controls object