use bytes instead of string in WMP