attempt to resolve require paths correctly