fixing weird error