actually fixed "checked" removal function