build bug fixes