trying to fix memleak ClockLayer singletonized