Restore fragments properly