fixed some compiling issues regarding Input