added exception handling for post and claim - delete messages