Fixed form box disapearing and formatted the code