cleaned up dependencies
generic _parseLink