fix duration and fillmode using shorthand method.