add check for home div existing