fix ruby code in footer