Fixed bug in st_six_input