fix bug about the addtion of remappings arguments