fixed bug in build