bluetooth and other fixes