fix for reset