fixed that user can save he same commit twice