hopefully fixed all errors in studies