fixed bug in card view when editing stage