fix missing div bugs