fix ui detail problems