fixing code buttons