updating core; fixed bug if no algo is specified