fix a bib rendering problem due to manual sprite scaling
fix a syntax error