fix disabled state for pseudo and file buttons