handle exceptions on REST module + bug fix on AllinAction