Removed warnings while compiling