staticentrymanager bug fixed