Fixed onclick-bug