Fix unitialized map error