Fix init of @cast