TL-WR1043ND optimization fixes