fixed bug operation