redirect to first resource