fix to theme path generation