fixes difference between api 1.0 and 1.1