fix duplicate errors

Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>