Removing useless warning