Fix theme parsing error