solved production 500 exception.

Signed-off-by: xp <robin.xiep@gmail.com>