clearing fields after clicking