refactor get status

refactor get status