->input replaced with ->getInput() to avoid segfault (temporary solution)