code fix for last compiler update