undefined bugfix