cleanup for basic sample app