bug fix for nothing to commit