fix for mode8