Properly end the if statement in the map configuration.