fix weird bug that broke everything