broken clickfunction