* reenabled warnings too early, move it to the correct spot