Fixed bug with errorAction