Fix 200

Fix #200 Uncaught TypeError. Props alessandrotesoro tareq1988