Fixed the "browse items" hook.
Cleaned whitespaces.