Parse id before url completion