fix failing spec for init generator