fix directive scope issue
case preview styles
merge