improve vspec detection