fix enigmatic code