fixed uncritical warnings