report logo code improvement