fix title check length