add null check before ROCplot function call
should not be after (loads axes but no plot other wise...)