fixes for f1,f0 ports. #32