fixed php53 compatability for this in closure