bug fix for skip