added state pre walk and fixed bridge up