Error 404

Added link check for error 404
and fix stats