Fix bug removed extra empty row in map