fix call to reset fucntion to prevent fatal error if E_STRICT is enabled