compare author by id instead of model object