optimized some statement.