use correct namespace, numRows check in object retrieval