Fixed bug in thingy