fix let scoping unneccesary override - fixes #245