Fixed terminal errors