Fixed Exception in Compatible theme