fixed pmap, removed fail type