rewriting volume mounting logic