finish add bug feature