Fixed a problem with my id field.

I was using the worng field as an id field
and application was not working when put into
a project.