minor changes to reflect changes in libgdx