fix some dependency issues from hadoop