fixed subargs handling and added args format verification