even with a proper flag I end up getting a `Uncaught TypeError: Object #<Object> has no method 'slice'`.