got rid of useless warning