tried to fix some php errors -- switching to node