clean up two warning