fixed vertex theme bug

There's only a small bug in the code.
With the fix it's possible to install the vertex theme.