removed unnecessary php 5.4 code