change buffer in input to static