fix bug for general study