Fixed commit bug