bug - model has no getAttribute method