fixed logic error with return value from up-function
0.4.1