fixed standard library bug preventing correct init