disabling fetch palette button on invalid input