php bugfixes and player