Avoid error msg when migel is not defined?