Entry: fix undefined value error