cleaning code/buttons added but not working right