fixed some onclicks