fixed compiled PMAP problem by narrowing the scope of the issue.