fix for example 6