rename $first to $title in createPrepareSelect