fix error with title size, js error