fixed enable button on the file event widget