fix variable warnings in php 5.5