fixed for php <5.4 q_q