fixed multiple declarations error