fix cmd and lib for --output