correct input paths