remove dir spriteConf (useless) and correct exception
ouops forgot die