fix specs and removing puts call