set gw_stat=0 if wrong password