fix for php 5.2 support for import\export