[cleanup] Fixed compiler warnings