added fix to the working php fetch stuff