fix small defects