fixed errors
fixed errors with rank() UDF
-