Removed unwanted codes

Found these while doing routine checks.

could you help with reviewing this? Super small stuff, but thanks!