only allow absolute path links - code cleanup