Avoid error

Uncaught TypeError: Cannot read property 'split' of undefined (line 216)