fixed problem with remidner with a workaround