ie8 compatibility fixed