fixed import of external resources