skip hidden layers fix