check for uncommited changes