added workaround since the remove tab listener is buggy