first fix issue 2013101702, still needs refactoring to getsingle
fix issue 2013101704, address still needs refactoring to getsingle