try to fix for php52 again