fix some link problems