Removed unwanted codes

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