fixed missing cls argument #459