Fixed error in Study model