optimize some line