link bug and no method error bug