replacing context class path with imported name