fix simple_api application