Fix ruby-block error