Fixed error report when no arguments