log and ui fix