fixes caused by using inline