fix all remaining warnings