fix doLoop and ambient settings in show function