fix error when erlide was not properly setup