fixing the first weird problem