fixed commit diff bug