fixes link_to_inline method and chosen selects