inputs not showing in correct order - issue #12 is fixed