fix bug on use wrong image path