tried to fix gui bugs with customBox