fix logic of F2