fixed some violations