fixed useless output suppression
added argv check