checking if onclick is problem