changed friendlyid to version 4