dsm fixes compilation errors and time mistakes