Fixes implementation of render function for team table