[fb] Fix error when editing new file