bug fix for maps return type