fix mistypes
fix sprite impl