resolving input issues