fixed overflow in profile