Fixed problem in checked mode.