Fixed all errors except reservation_station Branch.