fix file writer UI for pk location