wasn't using strncpy right