fix root path on gem