problem in route list

dear all

whenever i make a restart to MT the gateways in the route list changes from AS state to S . so i have to delete them and make the wan as AS . and the local at S . can i know where my problem is?

10x in advanced