fix for FF 3.6