fixed str->int