fixing on reset