Remapping source fails for some classes