fixed warning in firefox