Fix action processor

This PR brings various fixes for the command processor and ation processor.