tidy of dev mode warnings