fix title error throw statement