Fix bug on maze creation when params are strings