fixed bug in mapping transform pt II