bugfix on resoruce 404s