Fixed div termination issue