Fixed crach on lonclick