sizeof caused the damn join problem