fixed not using $title var