bug fixes for link buttons