fixing warnin