Handeling build errors