fix id raising in firefox