fixed it to work in edX