trying to make up for the crappy bugs in BWtek dll