Fix onerror so it works
0.1.2