Fixed unclosed div bug