dealing with some weird error