process_glyph_displacement function error

fixed error in process_glyph_displacement function