added post processing to stockgap.dart