fix for ie8 being badly broken

reverting a previous fix to give time to investigate