address comments

update to userProvidedStore variable check

fix to confusing variable name