media to modules fix