solve nil input