Fixed exception on unregistered commands handling