hopefully completely fix ui issues in daemon mode