Fix entities paths