[gui] fix compiler warnings