fixing prefixMatch for RPI