fix import and export php