handle 0 in map legend