fixes a part of #53

- setEnabled on the components was not working correctly