Fix bad return for loadThetas