directly return in some functions for debugging