Initial bugs

Bugs introduced by last minute changes and use of idAttribute along with direct access of model attributes instead of using .get()