fix virtualfile bug