fixed 'double information in DB' bug