document ready fix