re-nullified the buttons that were null initially