fixed -b all issue