Bug fix for allowing wxr files