fixed bug in builders logic