fix small preferce and bug

a