Fixing bugs

Signed-off-by: shyeon.kim <shyeon.kim@scipi.net>