fix automapper

Signed-off-by: chavp <my.parinya@gmail.com>