Solved warnings problem