horrible busy loop hack