Fix saving empty card