fix apiConfig call
fix ui