split trail directive into trailitems and trailoptions