added package-initialize in the .emacs file. then add path of elpa to load-path is not necessary.