handle failure if there are no changes

resolves #24