fixed mixed type unary functions