fixed some onclick stuff