fixes issue 5