fix startup check