Fixed bug with theme parsing.