fixed build def