fix violation event bug
add pwd module