Cross browser bug fix (ie too)