fixed animals pointer problem