fixed issue with null ranking file returned.