two useless optimizations