fix showtitle's bug