hotfix remapHosts

My apologies, I didn't noticed change version. I made changes on 1.0.5 before
right now all works correctly, please merge it