resolved the problem of empty bar and not auto refreshing problem in DND game