fixing php one step at a time