fixed the bug by adding latest dev of caffe