fixed error with adding multiple molecules