fixed strict and warning errors
remove var_dump