There are two places where this is done. Should there be a function which should be called to set these values to -1 to avoid duplication?