propertly handle title