Fixed a bug with number of VTECs