change mooc duration and weeklytime  to integer