seem to have sorted it. appears something to do with PIR and PIE registers. commented it out and works as before but without the frequency changing