remove unnecessary function argument for unary operatos