Shell effects on level density in near doubly magic nuclei