fixes an error with addressing