protect against long (255+) strings