handled some exceptions on server side