PROV-645 fixed improper return value