try to resolve file error in before_stall