fixed bugs reported for last commit 79c46f8

enabled to set avatar if avatar is not specified, changed font size from
pt to px,, fixed code format using lint