fixed a bug in livetileagentmanager