merge mutiple convert command into one to reduce unnecessary IO