fix app_small replace bug