fix ergomode not working