Fixed wrong usage of API.
1 file changed