errors handling for order added