fixed -s and -b output