remove unused variable
adjust working direcotry instead of user_dir