Fixed enter did reset bug