fixed ruby rendering list bug