Fixed syntax error from changing print methods