fix mid