fix okline issue