fixed show correct status in popup