Fix a bug with no controls

Fixed the null controls bug