trying to fix api