fix option to install packages

close #18