fix show time bug