Fix optional immediate parameter.