removed extra onload call