fixing startup endpoint