Fixed some style. And fix exception when a description is too short.