moved all controls to cmidict