Fix dependency to prevent scala from crashing