fix type of fill element