moved commit operation out of try loop along with afterSave operation... sometimes trigger happens during when event handlers which may be benign