ranger 1.6 porting