[FIX] validate number of required arguments