[Main] fix error of checking whether is staff