Fixed issue with deploy check box not working