Fixed errors with relation to last attempted version