fix to return strings properly