fix slim permissions