fix argv and extension profiles