fixing startup issues