fixes for reverse.impala