modify sever

change the way of using storage