fix startup issue