fix trouble with friendly_id