Cleaning warnings of compiler