fix problems with terminating <20 byte arrays, added splitting on slashes "/"