fixing theme loading errors