fixes for SPDT classifier