function call was being treated as a link