fixed onclick as there was an extra div involved