Ensured that empty library ref is not shown