Fix error of reset not being fired on production