fixes for modmap
tunePHmod added, still work in progress