main link problem fixed