add title button right; fix error