fix major bug where it doesn't return results. OH SHIT.