Fixed bug in gen depiction