zoomed map problem fixed
path function separated