Fixing id not working