fixed null tab problem