fix for clicking after committing