fixed mad and mad!