fix import returns (string, error)