fix array format for php53