fixed some issues

Signed-off-by: Joungchoul Kim <joungchoul.kim@windriver.com>