fixed some ID param issues