changed query to pull from slug instead of id