onload fixes #105