fixed some warning

- fixed some warning
- modified decoder create
- fixed index border and center bar declaration