fix slim errors