Bugfixing invalid commit changes