adapt framework issue/#438

fixes https://github.com/adaptlearning/adapt_framework/issues/438