Fixed proper cleanup of include element