was still showing buttons that should be greyed out. fixed