fixed issue with wave tables