had to minsafe everything b/c of rails