fixed typo that forbid scalar build