remove log statement
use injected Api instance
correct simple typo