fixing the Import from string functionality.