Lock wifi on in mobile apps
fix registrar when no os is specified