Removing "type" post value