Workaround errors in theme