Fixed problem with ember-data