Fix: phase polling code

Signed-off-by: Thynson <lanxingcan@gmail.com>