strip extension from param for algorithm