Fix for change to do let syntax