reducing php warnings generated by tourney