fixing stuff from Sin2D test