getting rid of warning