value of id is working