Fix issues in firefox, clear is not needed