fixed bug4