removes trailing new line
removes in prefix from function parameters