actually fixed aforementioned bug