enable some optimizations