cleaned up grep for checkParams moduleParams