Fix error with bookmark creation.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>