fixes for when comparison returns nothing
removing debugs