compiler compatability fix