deleting most of rails