query works when removing gsub, need to parse and display info