fix bug when creating volume