Fixed encoder

Signed-off-by: shyeon.kim <kimseo@kth.se>
Fixed

Signed-off-by: shyeon.kim <kimseo@kth.se>