fix behavior from non-supported browsers