some filesize optimizations