removed missed varible at 404 template vie
undefined valiable fixed
fixed undefined variable, improved related_listings function
removed undefined variable