added clear, fixed firefox-issue