fix: onload event is bind to wrong element