Fix error when disabling eclipse bar