query had doc folder twice