remove warnings and thanks