fix theme dir and warnings