fixed 'pull' command