fixed error in loading flags