hopefully fixes lag issue at the end (when resetting)