removed buggy get last click routine