periodic bugs i dont know why ugh