Bugfix in fetchData directive