fix app bug