fixing models
API sets task to done if received a call back on it