Last build retrieve and bugfixes