quick fix for firefox -> NS_ERROR_FAILURE