fixed bug with ambient mode