phpdic sucks and better buffer navigation