fix obvious bug in angular 2-way binding