On a generalization of perfect maps