Fixing base path for resources