Fixed IE compatibility bug