no more php 5.3 support
fixing smelly code