fix some non-critical compiler warning
add virtual destructor for tranformation base class to get rid of compiler warnings