updated fix for gem files