Corrected the getBuild function
Stash