initialise prefixes if not set