[FIX] fix wrong context, and improve log