Fixed building queue issue