fixed trailing -fi