fix blackscreen at timer add and remove