hopefull fix to two input types