typo on smart-comile