removed debug codes and move media types under media in menu