cleaning up buggy code in Control