Fix bug in displayCreate()

There was an error in displayDefault. Now, we (HJ) fix it by checking
the existence of field ‘wave’ in the display structure before use it.