Improved action parsing error messags