fix compt warning placement