subfolder compatibility in theme mode