Bugfix: really add error 501 for unknow actions