Fix some bug and add cmd status for checking what doing operation