make repo encoding struct private inner struct
fix title label spacing