works correct with faultyPages.js