added plotfixer.m function