fixed weird period at end