remove uncessary fields