dont submit null inputs, closes #195