fixed building creation