refactor
fix support for hidden slides