negative font size bug fix
refactoring