minor fixes, added cut