handle empty class names for relative view dirs