fixed warnings; use link_to_mod