fixing empty
fixing empty errot