fix for compatibility with stock wifi module