fix warnings; remove logs