remove extra libs, support lock icon