fix init with rememebr-theme hook