fix build errors (TheWhisp)