fixed #395 on demo page