fixed render if no type