fixed undefined language bug (for real this time)