remove ap from sinatra