fix for mode7 without next targets