fixed error in skip