weird error in public causes this