fixed annoying warnings