strict and notice php error removed for front-end demo