fixing demo.php 131006-2146