db encoding
status change bug fixed