attempted fix of weird error