fix for rel being undefined