Updated gitignore
Fixed map logic bug