fixed Entry bug