fix slot parsing