fixing bugs in status