loggin const missing