cleaned cut for ubuntu (deleted path to cut)