fixed ractive scope error