fix item status with button text 'undefined'