solve the arrangement of lesson resources issue