Issue 468

Fixing #468, simply by calling the right function (which was not called previously because of js being permissive :)