removed debug, order html elements