Fix bugs in force flag.