shaving off warnings and notes