fix prev-commit mistakes