Fix the bug on the onload expression