Fix that bug with SMAS.