Fig standarts fix and add debug module