key_commit: remove and edit custom variables