fixed status change bug