Fixed prescription bug