handle blank values better