remove user_dir from .mod file