catch 404 error, rewrite to version class