fixed bug5