set Title function simple fix