Update common.php

Move DEBUG test