segfault outputting placeholder