Fixing a security hole giving possibility to steal an existing entry