fixed bug in titleframe