fix fetch login period