fixed for API update(October 2013)