fix single module example filename
remove deprecated php function
fix undefined property call