removed useless line from getmap