Fixing themes resolution

Without the fix it tries to include /theme_name/file which cannot be resolved. the right url is /theme/theme_name/file