Fixed error with cost breaking everything if printer was not connected