On compactification of mappings