minor fix for old browsers