fix error messsage when not supported