fix for saving empty ids
0.1.21