rm some code duplication for bind mounts