Hopefully fixes bluetooth handling