Fixed the generator & theme has method