change reset frame to 0