Corrected the noMethodError when manually typing in link