fix displayTypes for edit and insert