%ds variable modified to be in more compatible format