fix 'make reset' command