Updated files

Detran had some errors introduced.  These changes allow detran to be build