fix preference nullpoint
add jar